package com.xmut.dao;

import com.sirdc.modules.core.dao.GenericQuery;
import com.sirdc.modules.core.dao.LongDao;
import com.xmut.entity.Floor;
import com.xmut.filter.FloorFilter;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *
 */
@Repository
public class FloorDao extends LongDao<Floor>{

    public List<Floor> query(FloorFilter filter) {
        GenericQuery query = createQuery("obj");
        return query.listResult(filter);
    }
}
